/**
 *
 * 横向导航栏，登录注册专用
 */


'use strict';
var React = require('react');
var ReButton=require('./ReButton.jsx');
class HkfsLoginAndRegisterBar extends React.Component {

    constructor(props) {
        super(props);
        this.state = {
            active: 0
        };
        this.goHome=this.goHome.bind();
    }

    goHome(){
        location.href='/';
    }


    render() {
        return (
            <div className="HkfsHomeBar_Container">
                <div>
                    <img src="/images/pc/header_logo.png"/>
                </div>
                <div className="ButtonDiv">
                    <ReButton reClass="HkfsHomeBarButton" reButtonClick={this.goHome}>返回首页</ReButton>
                </div>
            </div>
        );
    }
}

module.exports = HkfsLoginAndRegisterBar;